package com.tm.chargecar.controller;

import com.tm.chargecar.result.Result;
import com.tm.chargecar.service.PersonService;
import com.tm.chargecar.vo.PersonVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wangSang
 * @create 2022-08-24 16:24
 *
 *  负责人表
 */
@RestController
@RequestMapping("person")
public class PersonController {

        @Autowired
        private PersonService personService;

        @GetMapping("queryPerson")
        public Result queryPerson(PersonVo personVo){



            return personService.queryPerson(personVo);

        }
}
